projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7105e8e
)
demos/gtk-demo/clipboard.c: Use accessor functions to access GtkSelectionData
author
Javier Jardón
<jjardon@gnome.org>
Wed, 15 Dec 2010 23:57:13 +0000
(23:57 +0000)
committer
Javier Jardón
<jjardon@gnome.org>
Wed, 15 Dec 2010 23:58:15 +0000
(23:58 +0000)
demos/gtk-demo/clipboard.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/clipboard.c
b/demos/gtk-demo/clipboard.c
index e48eb509ed46cf522664b0c4de21c59f1e0d691b..1a321cc68265e2871fece16e9114f0ae6c0176d7 100644
(file)
--- a/
demos/gtk-demo/clipboard.c
+++ b/
demos/gtk-demo/clipboard.c
@@
-125,7
+125,7
@@
drag_data_received (GtkWidget *widget,
{
GdkPixbuf *pixbuf;
- if (
selection_data->length
> 0)
+ if (
gtk_selection_data_get_length (selection_data)
> 0)
{
pixbuf = gtk_selection_data_get_pixbuf (selection_data);
gtk_image_set_from_pixbuf (GTK_IMAGE (data), pixbuf);